
#include <string.h>
#include "ISO14443p3a.h"
#include "CardA.h"
#include "CardPrivate.h"

void Card_A_GetUID(Card_T * card, unsigned char uid[], unsigned char * ulen)
{
	ISO14443AInfo_T* info = (ISO14443AInfo_T*)card->pdata;

	memcpy(uid, info->uid, info->ulen);
	*ulen = info->ulen;
}

void Card_A_GetSAK(Card_T * card, unsigned char * sak)
{
	ISO14443AInfo_T* info = (ISO14443AInfo_T*)card->pdata;
	*sak = info->sak;
}

